<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: SListBase&lt; Ty, _Alloc &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="class_s_list_base-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">SListBase&lt; Ty, _Alloc &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>单链表基类  
 <a href="class_s_list_base.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_s_list_8h_source.html">SList.h</a>&gt;</code></p>
<div class="dynheader">
类 SListBase&lt; Ty, _Alloc &gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_s_list_base.png" usemap="#SListBase_3C_20Ty_2C_20_5FAlloc_20_3E_map" alt=""/>
  <map id="SListBase_3C_20Ty_2C_20_5FAlloc_20_3E_map" name="SListBase_3C_20Ty_2C_20_5FAlloc_20_3E_map">
<area href="class_s_list.html" title="单链表 只提供向前访问" alt="SList&lt; Ty, _Alloc &gt;" shape="rect" coords="0,56,150,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a92256571b9e201ac52fb3c3e7c2ae927"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> Ty&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a92256571b9e201ac52fb3c3e7c2ae927">value_type</a></td></tr>
<tr class="separator:a92256571b9e201ac52fb3c3e7c2ae927"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78a47be4dadb7c023a9fe4171ed6c824"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_list___node.html">List_Node</a>&lt; Ty &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a></td></tr>
<tr class="separator:a78a47be4dadb7c023a9fe4171ed6c824"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9120a1c647ef4418bf90a7abcf9fd0f2"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_list___iterator.html">List_Iterator</a>&lt; Ty &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a></td></tr>
<tr class="separator:a9120a1c647ef4418bf90a7abcf9fd0f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e3f2e19fa60984559020677d416f38f"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_list__const___iterator.html">List_const_Iterator</a>&lt; Ty &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a></td></tr>
<tr class="separator:a4e3f2e19fa60984559020677d416f38f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a446454d7dc0d365601f38daecaa0e70d"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a446454d7dc0d365601f38daecaa0e70d">Self</a></td></tr>
<tr class="separator:a446454d7dc0d365601f38daecaa0e70d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ac6583f1c55a6a5100407446cd72647dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#ac6583f1c55a6a5100407446cd72647dc">BuyNode</a> ()</td></tr>
<tr class="separator:ac6583f1c55a6a5100407446cd72647dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac89f3b5f791a3bd9368f4929ceca32a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#ac89f3b5f791a3bd9368f4929ceca32a9">SellNode</a> (<a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a> *node)</td></tr>
<tr class="separator:ac89f3b5f791a3bd9368f4929ceca32a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a355a4d3f0c950e4de965cae4dbbfe0af"><td class="memItemLeft" align="right" valign="top">_Alloc&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a355a4d3f0c950e4de965cae4dbbfe0af">_alloc</a></td></tr>
<tr class="separator:a355a4d3f0c950e4de965cae4dbbfe0af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd1a7972f81887a5a8439113ee1cf645"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#acd1a7972f81887a5a8439113ee1cf645">_size</a></td></tr>
<tr class="separator:acd1a7972f81887a5a8439113ee1cf645"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8217cae10fa234dab1ba54268e45b6b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#a8217cae10fa234dab1ba54268e45b6b8">_HNode</a></td></tr>
<tr class="separator:a8217cae10fa234dab1ba54268e45b6b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade8a5b267164a45e43b6b5436ef81c62"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_list_base.html#ade8a5b267164a45e43b6b5436ef81c62">_ENode</a></td></tr>
<tr class="separator:ade8a5b267164a45e43b6b5436ef81c62"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt;<br />
class SListBase&lt; Ty, _Alloc &gt;</h3>

<p>单链表基类 </p>

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00235">235</a> 行定义.</p>
</div><h2 class="groupheader">成员类型定义说明</h2>
<a id="a4e3f2e19fa60984559020677d416f38f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e3f2e19fa60984559020677d416f38f">&#9670;&nbsp;</a></span>const_iterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="class_list__const___iterator.html">List_const_Iterator</a>&lt;Ty&gt; <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list_base.html#a4e3f2e19fa60984559020677d416f38f">const_iterator</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00241">241</a> 行定义.</p>

</div>
</div>
<a id="a9120a1c647ef4418bf90a7abcf9fd0f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9120a1c647ef4418bf90a7abcf9fd0f2">&#9670;&nbsp;</a></span>iterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="class_list___iterator.html">List_Iterator</a>&lt;Ty&gt; <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list_base.html#a9120a1c647ef4418bf90a7abcf9fd0f2">iterator</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00240">240</a> 行定义.</p>

</div>
</div>
<a id="a78a47be4dadb7c023a9fe4171ed6c824"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78a47be4dadb7c023a9fe4171ed6c824">&#9670;&nbsp;</a></span>node_value</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="struct_list___node.html">List_Node</a>&lt;Ty&gt; <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00239">239</a> 行定义.</p>

</div>
</div>
<a id="a446454d7dc0d365601f38daecaa0e70d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a446454d7dc0d365601f38daecaa0e70d">&#9670;&nbsp;</a></span>Self</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> <a class="el" href="class_s_list_base.html">SListBase</a>&lt;Ty, _Alloc&gt; <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list_base.html#a446454d7dc0d365601f38daecaa0e70d">Self</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00242">242</a> 行定义.</p>

</div>
</div>
<a id="a92256571b9e201ac52fb3c3e7c2ae927"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92256571b9e201ac52fb3c3e7c2ae927">&#9670;&nbsp;</a></span>value_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="_s_list_8h.html#afbaee08ccd81ca689fa2c0dbba5b05ae">LIST_TYPENAME</a> Ty <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::<a class="el" href="class_s_list_base.html#a92256571b9e201ac52fb3c3e7c2ae927">value_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00238">238</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ac6583f1c55a6a5100407446cd72647dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6583f1c55a6a5100407446cd72647dc">&#9670;&nbsp;</a></span>BuyNode()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a>* <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::BuyNode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00250">250</a> 行定义.</p>

</div>
</div>
<a id="ac89f3b5f791a3bd9368f4929ceca32a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac89f3b5f791a3bd9368f4929ceca32a9">&#9670;&nbsp;</a></span>SellNode()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::SellNode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a> *&#160;</td>
          <td class="paramname"><em>node</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00266">266</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a355a4d3f0c950e4de965cae4dbbfe0af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a355a4d3f0c950e4de965cae4dbbfe0af">&#9670;&nbsp;</a></span>_alloc</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">_Alloc <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::_alloc</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00244">244</a> 行定义.</p>

</div>
</div>
<a id="ade8a5b267164a45e43b6b5436ef81c62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade8a5b267164a45e43b6b5436ef81c62">&#9670;&nbsp;</a></span>_ENode</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a>* <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::_ENode</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00247">247</a> 行定义.</p>

</div>
</div>
<a id="a8217cae10fa234dab1ba54268e45b6b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8217cae10fa234dab1ba54268e45b6b8">&#9670;&nbsp;</a></span>_HNode</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_list_base.html#a78a47be4dadb7c023a9fe4171ed6c824">node_value</a>* <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::_HNode</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00246">246</a> 行定义.</p>

</div>
</div>
<a id="acd1a7972f81887a5a8439113ee1cf645"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd1a7972f81887a5a8439113ee1cf645">&#9670;&nbsp;</a></span>_size</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Ty, class _Alloc = std::allocator&lt;List_Node&lt;Ty&gt; &gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> <a class="el" href="class_s_list_base.html">SListBase</a>&lt; Ty, _Alloc &gt;::_size</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_s_list_8h_source.html">SList.h</a> 第 <a class="el" href="_s_list_8h_source.html#l00245">245</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/algorithm/<a class="el" href="_s_list_8h_source.html">SList.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
